package org.cogaen.java2d;

import java.awt.Color;

public abstract class ColoredVisual extends Visual {

	private static final Color DEFAULT_COLOR = Color.CYAN;
	
	protected Color color;
	
	public ColoredVisual() {
		this(DEFAULT_COLOR);
	}
	
	public ColoredVisual(Color color) {
		this.color = color;
	}
	
	public void setColor(Color color) {
		this.color = color;
	}
	
	public Color getColor() {
		return this.color;
	}
}
